package com.ailiwu.www.ailiwu.bean;

import java.util.List;

/**
 * Created by zzw on 2015/12/3.
 */
public class ClassifySubjectSc {

    /**
     * code : 200
     * data : {"collections":[{"banner_image_url":"http://img03.liwushuo.com/image/151203/7989rxmn8.jpg-w300","cover_image_url":"http://img03.liwushuo.com/image/151203/9t8noqrjv.jpg-w720","created_at":1449107205,"id":169,"posts_count":4,"status":0,"subtitle":"天猫超市狂欢月","title":"天了噜，这里的超市好货5折都不到","updated_at":1449107205},{"banner_image_url":"http://img01.liwushuo.com/image/151201/gcdjls2cu.jpg-w300","cover_image_url":"http://img02.liwushuo.com/image/151201/x2etreg33.jpg-w720","created_at":1449015466,"id":119,"posts_count":4,"status":0,"subtitle":"\b时髦只是一分钟的事","title":"加一条围巾","updated_at":1440375466},{"banner_image_url":"http://img02.liwushuo.com/image/151201/ds415xh4t.jpg-w300","cover_image_url":"http://img01.liwushuo.com/image/151201/eqlwfqech.jpg-w720","created_at":1448974398,"id":168,"posts_count":4,"status":0,"subtitle":"陪你萌化一整个冬天","title":"毛茸茸哒家居服","updated_at":1448974398},{"banner_image_url":"http://img02.liwushuo.com/image/151130/w68csn4uu.jpg-w300","cover_image_url":"http://img03.liwushuo.com/image/151130/0ywuoc8o8.jpg-w720","created_at":1448845200,"id":121,"posts_count":5,"status":0,"subtitle":"让你\u201c一吻定情\u201d","title":"滋润唇膏","updated_at":1440413944},{"banner_image_url":"http://img02.liwushuo.com/image/151123/550e2pzww.jpg-w300","cover_image_url":"http://img03.liwushuo.com/image/151123/bgj816kww.jpg-w720","created_at":1448363486,"id":165,"posts_count":18,"status":0,"subtitle":"都为黑五降价啦","title":"全世界的好东西","updated_at":1448277086},{"banner_image_url":"http://img02.liwushuo.com/image/151124/oryymcxzg.jpg-w300","cover_image_url":"http://img02.liwushuo.com/image/151124/kz0eywjn9.jpg-w720","created_at":1448350109,"id":166,"posts_count":5,"status":0,"subtitle":"感谢有你，一路相伴","title":"温馨感恩节","updated_at":1448350109},{"banner_image_url":"http://img02.liwushuo.com/image/151123/0fprb0e6l.jpg-w300","cover_image_url":"http://img03.liwushuo.com/image/151123/k7xf8sw4c.jpg-w720","created_at":1448271961,"id":164,"posts_count":5,"status":0,"subtitle":"租来的房子也是家","title":"送给\b租房族","updated_at":1448271961},{"banner_image_url":"http://img01.liwushuo.com/image/151123/j8b7780e4.jpg-w300","cover_image_url":"http://img01.liwushuo.com/image/151123/ssggec6bf.jpg-w720","created_at":1448271560,"id":163,"posts_count":4,"status":0,"subtitle":"就像无法拒绝爱情","title":"无法拒绝巧克力","updated_at":1448271560},{"banner_image_url":"http://img02.liwushuo.com/image/151120/hawf30dl0.jpg-w300","cover_image_url":"http://img02.liwushuo.com/image/151120/sx2kyaayl.jpg-w720","created_at":1448020850,"id":162,"posts_count":5,"status":0,"subtitle":"你必须get√","title":"穿毛衣也有小技巧","updated_at":1448020850},{"banner_image_url":"http://img02.liwushuo.com/image/151120/11vpb43lw.jpg-w300","cover_image_url":"http://img01.liwushuo.com/image/151120/7ynl9m6pr.jpg-w720","created_at":1448020381,"id":161,"posts_count":5,"status":0,"subtitle":"送给凌乱星人","title":"省心收纳 ","updated_at":1448020381}],"paging":{"next_url":"http://api.liwushuo.com/v2/collections?limit=10&offset=10"}}
     * message : OK
     */

    private int code;
    /**
     * collections : [{"banner_image_url":"http://img03.liwushuo.com/image/151203/7989rxmn8.jpg-w300","cover_image_url":"http://img03.liwushuo.com/image/151203/9t8noqrjv.jpg-w720","created_at":1449107205,"id":169,"posts_count":4,"status":0,"subtitle":"天猫超市狂欢月","title":"天了噜，这里的超市好货5折都不到","updated_at":1449107205},{"banner_image_url":"http://img01.liwushuo.com/image/151201/gcdjls2cu.jpg-w300","cover_image_url":"http://img02.liwushuo.com/image/151201/x2etreg33.jpg-w720","created_at":1449015466,"id":119,"posts_count":4,"status":0,"subtitle":"\b时髦只是一分钟的事","title":"加一条围巾","updated_at":1440375466},{"banner_image_url":"http://img02.liwushuo.com/image/151201/ds415xh4t.jpg-w300","cover_image_url":"http://img01.liwushuo.com/image/151201/eqlwfqech.jpg-w720","created_at":1448974398,"id":168,"posts_count":4,"status":0,"subtitle":"陪你萌化一整个冬天","title":"毛茸茸哒家居服","updated_at":1448974398},{"banner_image_url":"http://img02.liwushuo.com/image/151130/w68csn4uu.jpg-w300","cover_image_url":"http://img03.liwushuo.com/image/151130/0ywuoc8o8.jpg-w720","created_at":1448845200,"id":121,"posts_count":5,"status":0,"subtitle":"让你\u201c一吻定情\u201d","title":"滋润唇膏","updated_at":1440413944},{"banner_image_url":"http://img02.liwushuo.com/image/151123/550e2pzww.jpg-w300","cover_image_url":"http://img03.liwushuo.com/image/151123/bgj816kww.jpg-w720","created_at":1448363486,"id":165,"posts_count":18,"status":0,"subtitle":"都为黑五降价啦","title":"全世界的好东西","updated_at":1448277086},{"banner_image_url":"http://img02.liwushuo.com/image/151124/oryymcxzg.jpg-w300","cover_image_url":"http://img02.liwushuo.com/image/151124/kz0eywjn9.jpg-w720","created_at":1448350109,"id":166,"posts_count":5,"status":0,"subtitle":"感谢有你，一路相伴","title":"温馨感恩节","updated_at":1448350109},{"banner_image_url":"http://img02.liwushuo.com/image/151123/0fprb0e6l.jpg-w300","cover_image_url":"http://img03.liwushuo.com/image/151123/k7xf8sw4c.jpg-w720","created_at":1448271961,"id":164,"posts_count":5,"status":0,"subtitle":"租来的房子也是家","title":"送给\b租房族","updated_at":1448271961},{"banner_image_url":"http://img01.liwushuo.com/image/151123/j8b7780e4.jpg-w300","cover_image_url":"http://img01.liwushuo.com/image/151123/ssggec6bf.jpg-w720","created_at":1448271560,"id":163,"posts_count":4,"status":0,"subtitle":"就像无法拒绝爱情","title":"无法拒绝巧克力","updated_at":1448271560},{"banner_image_url":"http://img02.liwushuo.com/image/151120/hawf30dl0.jpg-w300","cover_image_url":"http://img02.liwushuo.com/image/151120/sx2kyaayl.jpg-w720","created_at":1448020850,"id":162,"posts_count":5,"status":0,"subtitle":"你必须get√","title":"穿毛衣也有小技巧","updated_at":1448020850},{"banner_image_url":"http://img02.liwushuo.com/image/151120/11vpb43lw.jpg-w300","cover_image_url":"http://img01.liwushuo.com/image/151120/7ynl9m6pr.jpg-w720","created_at":1448020381,"id":161,"posts_count":5,"status":0,"subtitle":"送给凌乱星人","title":"省心收纳 ","updated_at":1448020381}]
     * paging : {"next_url":"http://api.liwushuo.com/v2/collections?limit=10&offset=10"}
     */

    private DataEntity data;
    private String message;

    public void setCode(int code) {
        this.code = code;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public DataEntity getData() {
        return data;
    }

    public String getMessage() {
        return message;
    }

    public static class DataEntity {
        /**
         * next_url : http://api.liwushuo.com/v2/collections?limit=10&offset=10
         */

        private PagingEntity paging;
        /**
         * banner_image_url : http://img03.liwushuo.com/image/151203/7989rxmn8.jpg-w300
         * cover_image_url : http://img03.liwushuo.com/image/151203/9t8noqrjv.jpg-w720
         * created_at : 1449107205
         * id : 169
         * posts_count : 4
         * status : 0
         * subtitle : 天猫超市狂欢月
         * title : 天了噜，这里的超市好货5折都不到
         * updated_at : 1449107205
         */

        private List<CollectionsEntity> collections;

        public void setPaging(PagingEntity paging) {
            this.paging = paging;
        }

        public void setCollections(List<CollectionsEntity> collections) {
            this.collections = collections;
        }

        public PagingEntity getPaging() {
            return paging;
        }

        public List<CollectionsEntity> getCollections() {
            return collections;
        }

        public static class PagingEntity {
            private String next_url;

            public void setNext_url(String next_url) {
                this.next_url = next_url;
            }

            public String getNext_url() {
                return next_url;
            }
        }

        public static class CollectionsEntity {
            private String banner_image_url;
            private String cover_image_url;
            private int created_at;
            private int id;
            private int posts_count;
            private int status;
            private String subtitle;
            private String title;
            private int updated_at;

            public void setBanner_image_url(String banner_image_url) {
                this.banner_image_url = banner_image_url;
            }

            public void setCover_image_url(String cover_image_url) {
                this.cover_image_url = cover_image_url;
            }

            public void setCreated_at(int created_at) {
                this.created_at = created_at;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setPosts_count(int posts_count) {
                this.posts_count = posts_count;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public void setSubtitle(String subtitle) {
                this.subtitle = subtitle;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public void setUpdated_at(int updated_at) {
                this.updated_at = updated_at;
            }

            public String getBanner_image_url() {
                return banner_image_url;
            }

            public String getCover_image_url() {
                return cover_image_url;
            }

            public int getCreated_at() {
                return created_at;
            }

            public int getId() {
                return id;
            }

            public int getPosts_count() {
                return posts_count;
            }

            public int getStatus() {
                return status;
            }

            public String getSubtitle() {
                return subtitle;
            }

            public String getTitle() {
                return title;
            }

            public int getUpdated_at() {
                return updated_at;
            }
        }
    }
}
